package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;
import ar.edu.caece.compiler.grammar.NonTerminalRecognizer;
import ar.edu.caece.compiler.grammar.terminals.EofToken;

public class PROGRAMA extends NonTerminalSymbol implements NonTerminalRecognizer {

	private BLOQUEI bloquei;
	private LISTABLOQUES listabloques;
	private EofToken eofToken;
	
	public PROGRAMA(BLOQUEI bloquei, LISTABLOQUES listabloques,
			EofToken eofToken) {
		super();
		this.bloquei = bloquei;
		this.listabloques = listabloques;
		this.eofToken = eofToken;
	}

	@Override
	public String getRepresentation() {
		// TODO Auto-generated method stub
				return "{"+this.getClass().getSimpleName()+" -> "+bloquei.getRepresentation()+" "+listabloques.getRepresentation()+" "+eofToken.getRepresentation()+"}";
	}

	public BLOQUEI getBloquei() {
		return bloquei;
	}

	public LISTABLOQUES getListabloques() {
		return listabloques;
	}

	public EofToken getEofToken() {
		return eofToken;
	}

}
